Integrand size = 27, antiderivative size = 408 \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=-\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+\sqrt {a^2+b^2}}-\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} \sqrt {a-\sqrt {a^2+b^2}} d}+\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+\sqrt {a^2+b^2}}+\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} \sqrt {a-\sqrt {a^2+b^2}} d}-\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d} \]
[Out]
Time = 0.62 (sec) , antiderivative size = 408, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3609, 12, 3566, 714, 1143, 648, 632, 212, 642} \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=-\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {\sqrt {a^2+b^2}+a}-\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} d \sqrt {a-\sqrt {a^2+b^2}}}+\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {\sqrt {a^2+b^2}+a}+\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} d \sqrt {a-\sqrt {a^2+b^2}}}-\frac {b \left (a^2+b^2\right ) \log \left (-\sqrt {2} \sqrt {\sqrt {a^2+b^2}+a} \sqrt {a+b \tan (c+d x)}+\sqrt {a^2+b^2}+a+b \tan (c+d x)\right )}{2 \sqrt {2} d \sqrt {\sqrt {a^2+b^2}+a}}+\frac {b \left (a^2+b^2\right ) \log \left (\sqrt {2} \sqrt {\sqrt {a^2+b^2}+a} \sqrt {a+b \tan (c+d x)}+\sqrt {a^2+b^2}+a+b \tan (c+d x)\right )}{2 \sqrt {2} d \sqrt {\sqrt {a^2+b^2}+a}}+\frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d} \]
[In]
[Out]
Rule 12
Rule 212
Rule 632
Rule 642
Rule 648
Rule 714
Rule 1143
Rule 3566
Rule 3609
Rubi steps \begin{align*} \text {integral}& = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}+\int \left (-a^2-b^2\right ) \sqrt {a+b \tan (c+d x)} \, dx \\ & = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}+\left (-a^2-b^2\right ) \int \sqrt {a+b \tan (c+d x)} \, dx \\ & = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}-\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {\sqrt {a+x}}{b^2+x^2} \, dx,x,b \tan (c+d x)\right )}{d} \\ & = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}-\frac {\left (2 b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {x^2}{a^2+b^2-2 a x^2+x^4} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{d} \\ & = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}-\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {x}{\sqrt {a^2+b^2}-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {x}{\sqrt {a^2+b^2}+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d} \\ & = \frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}-\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a^2+b^2}-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{2 d}-\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a^2+b^2}+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{2 d}-\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}}+2 x}{\sqrt {a^2+b^2}-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}}+2 x}{\sqrt {a^2+b^2}+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} x+x^2} \, dx,x,\sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d} \\ & = -\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d}+\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {1}{2 \left (a-\sqrt {a^2+b^2}\right )-x^2} \, dx,x,-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}}+2 \sqrt {a+b \tan (c+d x)}\right )}{d}+\frac {\left (b \left (a^2+b^2\right )\right ) \text {Subst}\left (\int \frac {1}{2 \left (a-\sqrt {a^2+b^2}\right )-x^2} \, dx,x,\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}}+2 \sqrt {a+b \tan (c+d x)}\right )}{d} \\ & = -\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+\sqrt {a^2+b^2}}-\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} \sqrt {a-\sqrt {a^2+b^2}} d}+\frac {b \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+\sqrt {a^2+b^2}}+\sqrt {2} \sqrt {a+b \tan (c+d x)}}{\sqrt {a-\sqrt {a^2+b^2}}}\right )}{\sqrt {2} \sqrt {a-\sqrt {a^2+b^2}} d}-\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)-\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {b \left (a^2+b^2\right ) \log \left (a+\sqrt {a^2+b^2}+b \tan (c+d x)+\sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} \sqrt {a+b \tan (c+d x)}\right )}{2 \sqrt {2} \sqrt {a+\sqrt {a^2+b^2}} d}+\frac {2 b (a+b \tan (c+d x))^{3/2}}{3 d} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.51 (sec) , antiderivative size = 183, normalized size of antiderivative = 0.45 \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=\frac {(a-b \tan (c+d x)) \left (3 i \sqrt {a-i b} \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \tan (c+d x)}}{\sqrt {a-i b}}\right ) \cos (c+d x)-3 i \sqrt {a+i b} \left (a^2+b^2\right ) \text {arctanh}\left (\frac {\sqrt {a+b \tan (c+d x)}}{\sqrt {a+i b}}\right ) \cos (c+d x)+2 b (a \cos (c+d x)+b \sin (c+d x)) \sqrt {a+b \tan (c+d x)}\right )}{3 d (a \cos (c+d x)-b \sin (c+d x))} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(985\) vs. \(2(333)=666\).
Time = 0.09 (sec) , antiderivative size = 986, normalized size of antiderivative = 2.42
method | result | size |
derivativedivides | \(\frac {2 b \left (a +b \tan \left (d x +c \right )\right )^{\frac {3}{2}}}{3 d}+\frac {\ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}\, a^{2}}{4 b d}+\frac {b \ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}}{4 d}-\frac {b \arctan \left (\frac {2 \sqrt {a +b \tan \left (d x +c \right )}+\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right ) a^{2}}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}-\frac {b^{3} \arctan \left (\frac {2 \sqrt {a +b \tan \left (d x +c \right )}+\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right )}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}-\frac {\ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a^{3}}{4 b d}-\frac {b \ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a}{4 d}-\frac {\ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}\, a^{2}}{4 b d}-\frac {b \ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}}{4 d}+\frac {b \arctan \left (\frac {\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-2 \sqrt {a +b \tan \left (d x +c \right )}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right ) a^{2}}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}+\frac {b^{3} \arctan \left (\frac {\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-2 \sqrt {a +b \tan \left (d x +c \right )}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right )}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}+\frac {\ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a^{3}}{4 b d}+\frac {b \ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a}{4 d}\) | \(986\) |
default | \(\frac {2 b \left (a +b \tan \left (d x +c \right )\right )^{\frac {3}{2}}}{3 d}+\frac {\ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}\, a^{2}}{4 b d}+\frac {b \ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}}{4 d}-\frac {b \arctan \left (\frac {2 \sqrt {a +b \tan \left (d x +c \right )}+\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right ) a^{2}}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}-\frac {b^{3} \arctan \left (\frac {2 \sqrt {a +b \tan \left (d x +c \right )}+\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right )}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}-\frac {\ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a^{3}}{4 b d}-\frac {b \ln \left (b \tan \left (d x +c \right )+a +\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}+\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a}{4 d}-\frac {\ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}\, a^{2}}{4 b d}-\frac {b \ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, \sqrt {a^{2}+b^{2}}}{4 d}+\frac {b \arctan \left (\frac {\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-2 \sqrt {a +b \tan \left (d x +c \right )}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right ) a^{2}}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}+\frac {b^{3} \arctan \left (\frac {\sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-2 \sqrt {a +b \tan \left (d x +c \right )}}{\sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}\right )}{d \sqrt {2 \sqrt {a^{2}+b^{2}}-2 a}}+\frac {\ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a^{3}}{4 b d}+\frac {b \ln \left (\sqrt {a +b \tan \left (d x +c \right )}\, \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}-b \tan \left (d x +c \right )-a -\sqrt {a^{2}+b^{2}}\right ) \sqrt {2 \sqrt {a^{2}+b^{2}}+2 a}\, a}{4 d}\) | \(986\) |
parts | \(\text {Expression too large to display}\) | \(1656\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 956 vs. \(2 (335) = 670\).
Time = 0.28 (sec) , antiderivative size = 956, normalized size of antiderivative = 2.34 \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=\frac {3 \, d \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} + d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \log \left (d^{3} \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} + d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}} + {\left (a^{6} b + 3 \, a^{4} b^{3} + 3 \, a^{2} b^{5} + b^{7}\right )} \sqrt {b \tan \left (d x + c\right ) + a}\right ) - 3 \, d \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} + d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \log \left (-d^{3} \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} + d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}} + {\left (a^{6} b + 3 \, a^{4} b^{3} + 3 \, a^{2} b^{5} + b^{7}\right )} \sqrt {b \tan \left (d x + c\right ) + a}\right ) - 3 \, d \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} - d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \log \left (d^{3} \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} - d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}} + {\left (a^{6} b + 3 \, a^{4} b^{3} + 3 \, a^{2} b^{5} + b^{7}\right )} \sqrt {b \tan \left (d x + c\right ) + a}\right ) + 3 \, d \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} - d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \log \left (-d^{3} \sqrt {-\frac {a^{5} + 2 \, a^{3} b^{2} + a b^{4} - d^{2} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}}}{d^{2}}} \sqrt {-\frac {a^{8} b^{2} + 4 \, a^{6} b^{4} + 6 \, a^{4} b^{6} + 4 \, a^{2} b^{8} + b^{10}}{d^{4}}} + {\left (a^{6} b + 3 \, a^{4} b^{3} + 3 \, a^{2} b^{5} + b^{7}\right )} \sqrt {b \tan \left (d x + c\right ) + a}\right ) + 4 \, {\left (b^{2} \tan \left (d x + c\right ) + a b\right )} \sqrt {b \tan \left (d x + c\right ) + a}}{6 \, d} \]
[In]
[Out]
\[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=- \int a^{2} \sqrt {a + b \tan {\left (c + d x \right )}}\, dx - \int \left (- b^{2} \sqrt {a + b \tan {\left (c + d x \right )}} \tan ^{2}{\left (c + d x \right )}\right )\, dx \]
[In]
[Out]
Exception generated. \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Timed out. \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 19.90 (sec) , antiderivative size = 2529, normalized size of antiderivative = 6.20 \[ \int (-a+b \tan (c+d x)) (a+b \tan (c+d x))^{3/2} \, dx=\text {Too large to display} \]
[In]
[Out]